home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / ProgramF / CRYSTAL / CRW9 / DEV / INCLUDE / Uxdvim.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-15  |  2.0 KB  |  112 lines

  1.  
  2. //<HEADER_BEGIN>
  3. //================================================
  4. //File name: uxdvim.h
  5. //Date : January, 15 2002  12:15
  6. //Copyright (c) 2002 - Crystal Decisions Corp.
  7. //================================================
  8. //<HEADER_END>
  9.  
  10. #if !defined (UXDVIM_H)
  11. #define UXDVIM_H
  12.  
  13. // Set 1-byte structure alignment
  14. #if defined (__BORLANDC__) // Borland C/C++
  15.   #pragma option -a-
  16. #elif defined (_MSC_VER) // Microsoft Visual C++
  17.   #if _MSC_VER >= 900 // MSVC 2.x and later
  18.     #pragma pack (push)
  19.   #endif
  20.   #pragma pack (1)
  21. #endif
  22.  
  23. #if defined (__cplusplus)
  24. extern "C"
  25. {
  26. #endif
  27.  
  28. #define UXDVIMType             0
  29.  
  30. typedef struct UXDVIMOptionsA
  31. {
  32.     WORD structSize;
  33.  
  34.     char FAR *toList;
  35.     char FAR *ccList;
  36.     char FAR *bccList;
  37.     char FAR *subject;
  38.     char FAR *message;
  39.  
  40.     char FAR *userName;
  41.     char FAR *password;
  42.  
  43.     WORD nEncodedBytes;
  44.  
  45. #if defined (__cplusplus)
  46. public:
  47.     UXDVIMOptionsA()
  48.     {
  49.         toList  = NULL;
  50.         ccList  = NULL;
  51.         subject = NULL;
  52.         message = NULL;
  53.         bccList = NULL;
  54.         userName = NULL;
  55.         password = NULL;
  56.         nEncodedBytes = 0;
  57.     };
  58. #endif
  59.  
  60. }
  61.     UXDVIMOptionsA;
  62.  
  63.  
  64. typedef struct UXDVIMOptionsW
  65. {
  66.     WORD structSize;
  67.  
  68.     wchar_t FAR *toList;
  69.     wchar_t FAR *ccList;
  70.     wchar_t FAR *bccList;
  71.     wchar_t FAR *subject;
  72.     wchar_t FAR *message;
  73.  
  74.     wchar_t FAR *userName;
  75.     wchar_t FAR *password;
  76.  
  77.     WORD nEncodedBytes;
  78.  
  79. #if defined (__cplusplus)
  80. public:
  81.     UXDVIMOptionsW()
  82.     {
  83.         toList  = NULL;
  84.         ccList  = NULL;
  85.         subject = NULL;
  86.         message = NULL;
  87.         bccList = NULL;
  88.         userName = NULL;
  89.         password = NULL;
  90.         nEncodedBytes = 0;
  91.     };
  92. #endif
  93.  
  94.  
  95. }
  96.     UXDVIMOptionsW;
  97.  
  98. #ifdef UNICODE
  99. typedef UXDVIMOptionsW UXDVIMOptions;
  100. #else
  101. typedef UXDVIMOptionsA UXDVIMOptions;
  102. #endif  //UNICODE 
  103.  
  104.  
  105. #define UXDVIMOptionsSize      (sizeof (UXDVIMOptions))
  106.  
  107. #if defined (__cplusplus)
  108. }
  109. #endif
  110.  
  111. #endif 
  112.